﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
 

namespace Qiang.Styles
{
    public interface IPointStyle : IStyle
    {


        #region 属性

        /// <summary>
        /// 是否使用外轮廓线。
        /// </summary>
        bool UseOutLine { get; set; }

        /// <summary>
        /// 外轮廓线。
        /// </summary>
        ILineStyle OutLineStyle { get; set; }


        /// <summary>
        /// 样式类型。
        /// </summary>
        PointStyleType StyleType { get;}


        /// <summary>
        /// Size.
        /// </summary>
        Size Size { get; set; }


        #endregion


        #region 方法

        /// <summary>
        /// 
        /// </summary>
        /// <param name="g"></param>
        /// <param name="position"></param>
        void Draw(Graphics g, Point position);

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        Brush ToBrush();


        #endregion


    }
}
